The rm.logout method does the clean-up activity for the reader management interface. This must be called once the application has done with Reader management functions.
// Logs out from the reader management
rm.logout();